package vip.liux.contracts.shared.enums.pay;

import vip.liux.core.enums.IEnum;

public enum PayDemoWithdrawType implements IEnum {

    WALLET(0, "钱包余额"),
    ALIPAY(1, "支付宝"),
    WECHAT(2, "微信余额");

    /**
     * 类型
     */
    private final int value;
    /**
     * 名字
     */
    private final String desc;

    PayDemoWithdrawType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public int getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
